package net.aaa.hotel.dao;

import net.aaa.hotel.entity.GustRoom;

import java.util.List;
import java.util.Map;

public interface GustRoomDao {
    List<Map> getAllRoomDao();

    List<Map> getAllRoomDaoByPage(Integer curr,Integer nums);

    List<Map> getAllRoomDaoByPage(Integer curr,Integer nums,String condition);

    int getCount();

    int getCount(String condition);

    int delGustRoomById(Integer id);

    int addGustRoom(GustRoom gustRoom);

    int updGustRoom(GustRoom gustRoom);
}
